//
//  NewsModel.h
//  WY
//
//  Created by lanou3g on 16/5/10.
//  Copyright © 2016年 pcc. All rights reserved.
//

#import <Foundation/Foundation.h>
@class NewsImageModel;
@interface NewsModel : NSObject
//跟帖数
@property (nonatomic, assign) NSInteger replyCount;
//概要
@property (nonatomic, copy) NSString *digest;
//图片
@property (nonatomic, copy) NSString *imgsrc;
//标题
@property (nonatomic, copy) NSString *title;
//图片数组
@property (nonatomic, strong) NSArray<NewsImageModel *> *imgextra;
/**
 *  picture type --- default is 0   big picture is 1
 */

@property (nonatomic, assign) NSInteger imgType;
//文章id
@property (nonatomic, copy) NSString *docid;
// News detail path
//网址
@property (nonatomic, copy) NSString *fullURL;
//类型id
@property (nonatomic, strong) NSString *boardid;

/**
 *  upload news data
 *
 *  @param url     news data url
 *  @param success success call back(data call back)
 */
+ (void)newsDatasWithURL:(NSString *)url success:(void(^)(NSArray *news))success;
@end
